//
//  DECXPrivacyPolicyController.m
//  DECXInStore
//
//  Created by 李坤 on 2018/10/11.
//  Copyright © 2018年 程强. All rights reserved.
//

#import "DECXPrivacyPolicyController.h"
#import <WebKit/WebKit.h>

@interface DECXPrivacyPolicyController ()
@property (strong, nonatomic) WKWebView *privacyWeb;
@end

@implementation DECXPrivacyPolicyController

- (void)viewDidLoad
{
    [super viewDidLoad];
    [self setupUI];
}
- (void)setupUI
{
    _privacyWeb = [[WKWebView alloc]initWithFrame:CGRectMake(0, 0, ScreenWidth, ScreenHeight-(STATUSBAR_HEIGHT+NAVBAR_HEIGHT))];
    [_privacyWeb loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"http://www.decxagri.com/data/attachment/privacyPolicy.html"]]];
    [self.view addSubview:_privacyWeb];
}
@end
